Nuclear magnetic resonance determination of rotational barriers in five-membered heterocycles