A nonlinear time-domain BEM for the performance of 3D flapping-wing thrusters in directional waves