The role of space in determining the occupations of black and white workers