In situ investigations of phase transformations in Fe-sheathed MgB2 wires