Redox reactions accompanying hydrothermal wall rock alteration