Synthesis and Reactions of New Thiazoles and Pyrimidines Containing Sulfonate Moiety