Three-electrode cell system for the study of reversible cathodes in rechargeable lithium batteries