The effect of environmental change, planned and unplanned life events on the long-term outcome of common mental disorders