Preparation of high-performance polyimide fibers containing benzimidazole and benzoxazole units