In vivo kinetics of a redox-regulated transcriptional switch.