Synthesis of Novel Benzimidazole and Benzothiazole Derivatives