Essays On Job-Related Risks And Worker Sorting