Exact solution of a t−J chain with impurity