Stability of LiMn2O4 and new high temperature phases in air, O2 and N2