A gradient method exploiting the two dimensional quadratic termination property