Parametric study and optimization of a two-body wave energy converter