Solid support synthesis of 2,4-disubstituted thiazoles and aminothiazoles