Heterocyclic compounds containing two or more hetero rings, at least one ring having selenium, tellurium, or halogen atoms as ring hetero atoms