A model for conjunctive use of groundwater and surface waters for control of irrigation salinity