Age and gender variation in the impact of household structure on elderly mortality