Institutions, Labor Market Inequalities, and Welfare