Simulation of stream-water chemistry with soil solution and groundwater flow contributions