For what values of k the expression kx²+(k+1)x+2 will be a perfect square of a linear polynomial.