Race and sex differences in the work and retirement patterns of older heads of household