Preparation of LiMn2O4 thin films by a sol–gel method