Probing electrochemical reactions in organic cathode materials via in operando infrared spectroscopy