Intercalation of lithium ions into graphite electrodes studied by AC impedance measurements