Elite Co-optation, Repression, and Coups in Autocracies