Hydrogen Storage Properties of a Mg–Ni Nanocomposite Coprecipitated from Solution