Modelling groundwater residence time in a sub-irrigated buffer zone