Torsional potential barriers in conjugated molecules: unsaturated N-substituted amides