Hydrogen absorption and desorption behavior of Ni catalyzed Mg–Y–C–Ni nanocomposites