Methyl rotational barriers in amides and thioamides.