State capacity and political regime stability