The functional economic geography of the US