Synthesis and characterization of new thermally stable polybenzimidazoles and poly(amide-benzimidazole)s