Flow separation and vertical motions in a tidal flow interacting with a shallow-water island