Linking census data to health records clarifies ethnic inequalities in health and care