Non-isothermal rheology of polymers and its significance in polymer processing