Orthogonal polynomials and Riesz bases applied to the solution of Love's equation