Nucleation in the electrocrystallization process studied by surface-enhanced raman spectroscopy