From TPL assessment to design optimization: Wave energy converter control co-design applied to the RM3