Synthesis and pharmacological properties of benzisothiazole/benzimidazole derivatives with acidic groups