Profiles of quality of life among patients using emergency departments for mental health reasons