Entrepreneurship and spatial externalities: theory and measurement