The Role of Productivity, Transportation Costs, and Barriers to Intersectoral Mobility in Structural Transformation