Molecular packing and properties of poly(benzoxazole-benzimidazole-imide) copolymers