Workers and Firms Sorting into Temporary Jobs