External spillovers, internal spillovers and the geography of production and innovation