Electrochemical extraction of lithium from LiMn2O4