Barrier to internal rotation in amides. IV. N,N-Dimethylamides. Substituent and solvent effects