Synthesis, Heat Resistance, and Mechanical Properties of Cross-Linked Urethane–Imide Copolymers Containing Blocks of Two Structurally Different Aliphatic Fragments (Polyether and Polyester) in the Backbone