Synthesis and hydrogen storage properties of Mg-based alloys