Improved hydrogen storage properties of MgH2 with Ni-based compounds