2D and 1D numerical model simulations for the effect of a single detached breakwater on the shore