Potentially traumatic events and job satisfaction: a prospective population-based comparative study