Effects of the surface temperature and cooling rate on the residual stresses in a flame hardening of 12Cr steel