The H−Mg (Hydrogen-Magnesium) system