Understanding the risk factors of non-suicidal self-injury in adolescents and young adults