Meritocracy and Democracy: Mixed Regimes and the Limits of Political Legitimacy