Stability analysis of impulsive nonlinear quadratic systems