The synthesis and electrochemical properties of nanoconfined lithium titanate, titanium oxide, iron fluoride and other compounds