If x^{3}+x^{2}-a x+b is divisible by \left(x^{2}-x\right), write the value of a and b.