Theoretical studies on the reactivity of thiazole derivatives