Connection between the closeness of classical orbits and the factorization of the radial Schrödinger equation