Magnesium-ytterbium system: a contribution to the thermodynamics of solid alloys