Thermodynamic Assessment of the Fe-Ca-S, Fe-Mg-O and Fe-Mg-S Systems