Chemical Reactions Accompanying the Processes of Refractory Metal Electrodeposition