A study of ion-pair production rates and electron number densities in the ionospheric D-region