Mechanical properties and electronic structures of MgCu2, Mg2Ca and MgZn2 Laves phases by first principles calculations