Invariant Sets and Guaranteed Cost Control of Nonlinear Quadratic Systems