Numerical analysis and wave tank validation on the optimal design of a two-body wave energy converter