Rational interpolation via orthogonal polynomials