A global optimization approach to scalar H2/Hinf control