Optimization of a three-dimensional hybrid system combining a floating breakwater and a wave energy converter array