Synthesis and characterization of new poly(ether–ester–imide)s as a generation of soluble and thermally stable polymers