The value of a so that the sum of the squares of the roots of the equation x2−(a−2)x−a+1=0 assume the least value is: