A two-phase gradient method for quadratic programming problems with a single linear constraint and bounds on the variables