Detection and classification of suicidal behavior and nonsuicidal self-injury behavior in emergency departments