Substrate-induced strain of UPD monolayers and two-dimensional—three-dimensional transition in metal electrodeposition