Heterocyclic compounds containing sulfur, selenium or tellurium compounds in the ring used as base material