Exports vs. foreign direct investment: evidence from cross-country industry data