Life events, mediating variables and psychological distress : a longitudinal study