R&D spillovers and the geography of innovation and production