On the Mechanism of Metal Electrocrystallization