Generating and absorbing boundary conditions for combined wave-current simulations