Numerical simulation of the flow around free-surface piercing bodies in waves by an overlapping grids approach