A study of the structure of some cyclic amides and related tetrazoles