Heterocyclic compounds containing rings of more than seven members having two nitrogen atoms as the only ring hetero atoms