Hydrogeochemical characterization of groundwater flow systems in the discharge area of a river basin