Heterocyclic compounds containing nitrogen atoms as the only ring heteroatoms in the condensed system