Quantum communication through a spin chain with interaction determined by a Jacobi matrix