Formation, thermal stability and mechanical properties of amorphous alloys in the Mg-transition metal(Ni, Cu)-alkaline-earth metal(Ca, Sr, Ba) system