Domain of attraction and guaranteed cost control for non-linear quadratic systems. Part 1. Analysis