Design optimization of a structurally flexible wave energy converter