Essays on Firms' Behavior in International Trade with Vertical Specialization