Measuring the knowledge base of an economy in terms of triple-helix relations among 'technology, organization, and territory'