Wake formation around islands in oscillatory laminar shallow-water flows. Part 2. Three-dimensional boundary-layer modelling