Nanosize effect on the hydrogen storage properties of Mg-based amorphous alloy