Dynamics of factors associated with rates of COVID-19 cases and deaths in African countries