The bases of economic geography