Product mix and firm productivity responses to trade competition