Medium effect on the rotational barrier of carbamates and its sulfur congeners.