An integrated groundwater recharge and flow model to predict base flow