A geometric characterization of strong duality in nonconvex quadratic programming with linear and nonconvex quadratic constraints uri icon