Hydrogen storage properties of nanocrystalline and amorphous Pr–Mg–Ni-based alloys synthesized by mechanical milling