The Wartime Origins of Postwar Democratization: Civil War, Rebel Governance, and Political Regimes