Suppression of Jahn–Teller distortion by chromium and magnesium doping in spinel LiMn2O4: A first-principles study using GGA and GGA+U