Essays On Labor Market Frictions And Macroeconomic Welfare