FEM prediction of welding residual stress and distortion in carbon steel considering phase transformation effects