How Dictatorships Work: Power, Personalization, and Collapse