Structural, Elastic, and Electronic Properties of Antiperovskite Chromium-Based Carbides ACCr3 (A = Al and Ga)