Calculation of the ratios of complex Riccati-Bessel functions for Mie scattering