Trade and Migration: Firm-Level Evidence (LONG VERSION)