Pressure prediction of phase stability, anisotropic elasticity, and thermodynamic properties of Ti 2 AC ( A = Cd, In ) ternary compound