High-dimensional control co-design of a wave energy converter with a novel pitch resonator power takeoff system