Revealing the elastic properties and anisotropies of Mg2X(X = Si, Ge and Sn) with different structures from a first-principles calculation