Automatic Tuning of Gain-Scheduled Controllers