General trends in the structural, electronic and elastic properties of the M3AlC2 phases (M = transition metal): A first-principle study