Heterocyclic compounds containing rings having nitrogen and selenium or nitrogen and tellurium, with or without oxygen or sulfur atoms, as the ring hetero atoms