Operando optical tracking of single-particle ion dynamics in batteries