In situ study of phase transformations during laser-beam welding of a TiAl alloy for grain refinement and mechanical property optimization