Efficient solution of quadratically constrained quadratic subproblems within the MADS algorithm ∗