Cationic and anionic redox in lithium-ion based batteries.