A galvanostatic study of electrochemical nucleation