Transitions to Democracy: Toward a Dynamic Model