The effect of waves on the performance of sailing yachts