Exact solutions of the radial Schrödinger equation for inverse-power potentials