Simulating waves and their interactions with a restrained ship using a non-hydrostatic wave-flow model