An empirical topside electron density model for calculation of absolute ion densities in IRI