Real-time stress measurements in lithium-ion battery negative-electrodes