Modelling Phase Transformations for the Calculation of Internal Stresses During Fast Heating and Cooling in Steels