Perinatal and psychosocial circumstances associated with risk of attempted suicide, non-suicidal self-injury and psychiatric service use. A longitudinal study of young people