Biogeochemical cycling constraints on stream ecosystem recovery