Control co-design and optimization of oscillating-surge wave energy converter