Electrochemical hydrogen storage characteristics of nanocrystalline and amorphous Mg2Ni-type alloys prepared by melt-spinning