Knowledge Diffusion and Trade across Countries and Sectors