Economic Reform and Democratization: Evidence from Latin America and Post-Socialist Countries