Essays on the political economy of state capacity, conflict, and democratization