Heterocyclic compounds containing sulfur atoms as ring hetero atoms in the condensed system