Nanoscale evolution of interface morphology during electrodeposition