Structural, Electronic, and Mechanical Properties of A3Mn2O7 (A = Sr, Ca): Ab Initio Calculation