Heterocyclic compounds having sulfur as a ring hetero atom having six-membered rings, e.g. thioxanthenes