Psychosocial work factors and social inequalities in psychological distress: a population-based study