Synthesis and antithyroid activity of pyridine, pyrimidine and pyrazine derivatives of thiazole-2-thiol and 2-thiazoline-2-thiol.