An empirical model for the global distributions of density, temperature and effective collision frequency of electrons in the ionosphere