Empirical essays on international trade