On the dynamics and design of a two-body wave energy converter