Electoral Determinants of State Repression in Democracies