Li nucleation on the graphite anode under potential control in Li-ion batteries