Electroreduction of Co2+ and Ni2+ at III-V semiconductors and properties of the semiconductor/metal interfaces formed