Three Essays on Firms' Behavior in International Trade