Flow and temperature dynamics in the hyporheic zones