Insomnia as an independent predictor of suicide attempts: a nationwide population-based retrospective cohort study