A thermally stable polybenzimidazole polybenzoxazole segmented block copolymer