Redox gradients in distribution systems influence water quality, corrosion, and microbial ecology.