The effect of the pool and riffle on transport in rivers