How colonial rule committed Africa to fragile authoritarianism