National cross-sectional cohort study of the relationship between quality of mental healthcare and death by suicide