Analysis of heat-affected zone phase transformations usingin situ spatially resolved x-ray diffraction with synchrotron radiation