Toda-Schr\"odinger correspondence and orthogonal polynomials