Essays on the Spatial Distribution of Economic Activities