Heterorings having nitrogen atoms as the only ring heteroatoms