Alkaline-earth metal doping in spinel LiMn2O4 cathode materials for Li-ion batteries: Insights from first-principles calculations