An equilibrium study of the hydrogen reduction of copper sulfates