Nucleation and growth of Au and Au-Pd nanoparticles at the beginning of electrochemical deposition