Heterocyclic compounds characterised by ligands containing two nitrogen atoms as heteroatoms with other heteroatoms