The resource curse, rule of law and accountability in African countries: a dynamic panel analys