Charge and discharge of lithium-ion capacitors