The contribution of resilience factors to mental health and personal growth in the transition to military service