Quality of employment trajectories and mental health: the role of gender and social norms