Underpotential—overpotential transition phenomena in metal deposition processes