Isospectral algorithms, Toeplitz matrices and orthogonal polynomials