A 2D curvilinear coupled surface–subsurface flow model for simulation of basin/border irrigation: theory, validation and application