Death risk varies with social deprivation, employment, and ethnicity, data show