Equalities legislation and the Census