Essays on international trade and labor mobility