Reversible and irreversible dilation of lithium-ion battery electrodes investigated by in-situ dilatometry