Gender inequalities in health: exploring the contribution of living conditions in the intersection of social class