Thermal stability and elastic properties of Mg2X (X = Si, Ge, Sn, Pb) phases from first-principle calculations