Magnesium nanoparticles with transition metal decoration for hydrogen storage