Tidally induced residual circulation in estuaries with cross-channel bathymetry