Quantified real constraint solving using modal intervals with applications to control