Electrochemical Hydrogen Storage Performances of the Nanocrystalline and Amorphous Mg2Ni-Type Alloys