Theory of I-t curves at constant potential in the case of a solid whose reduction or oxidation is preceded by its dissolution