Mitigating the adjustment costs of international trade