Quantitative analysis of redox metabolism