Thermodynamic optimization of the systems Mn-Gd and Mn-Y using new experimental results