The measurement of residential segregation