A pseudo-time integral method for non-isothermal viscoelastic flows and its application to extrusion simulation