Modeling the effect of water diversion on the temperature of mountain streams