Origin Matters: The Differential Impact of Import Competition on Innovation