Modelling social support, life events, competence, and depression in the context of age and sex