School Performance and the Risk of Suicidal Thoughts in Young Adults: Population-Based Study