Tracer advection in a pair of adjacent side-wall cavities, and in a rectangular channel containing two groynes in series