证明多项式x^3-3x^2+3x-2有因式x^2-x+1.