Heterocyclic compounds characterised by ligands containing one nitrogen atom as the heteroatom with other heteroatoms