Dynamic Gains from International Trade with Imperfect Competition and Market Power