Hydrogen sorption performances of Mg – Ni and Mg – Ni – C (graphite) nanocomposites