Water oxidation investigated by rapid-scan FT-IR spectroscopy