First-principle calculations of structural, electronic, optical, elastic and thermal properties of $$\hbox {MgXAs}_{2}$$MgXAs2 ($$\hbox {X}=\hbox {Si}, \hbox {Ge}$$X=Si,Ge) compounds