Residual sediment fluxes in weakly-to-periodically stratified estuaries and tidal inlets