Does function predict persistence? Nonsuicidal self-injury among adolescents during and after hospitalization