Biocides, pest repellants or attractants, or plant growth regulators containing heterocyclic compounds having rings with nitrogen atoms and oxygen or sulfur atoms as ring hetero atoms six-membered rings with one nitrogen atom and either one oxygen atom or one sulfur atom in positions 1,4