Study on synthesis and thermal properties of polyurethane–imide copolymers with multiple hard segments