Intercalation of lithium into graphite and other carbons