The effect of chloride ion in the electrowinning of copper