Innovation, international R&D spillovers and the sectoral heterogeneity of knowledge flows