Functions of Mg and Mg-CaO mixtures in hot metal desulfurization