Impedance spectroscopy of lithium-carbon electrodes