Synthesis and characterization of new benzothiazepine and benzimidazole derivatives and their biological studies