Degradation of carbon negative electrodes in lithium-ion batteries