Influence of copolymer’s end group and molecular weight on the rheological and thermomechanical properties of epoxy/thermoplastic blends