Hyporheic oxygen flux and substratum spatial heterogeneity: effects on whole-stream dynamics