Labor market frictions, self-employment and productivity∗