The temporal association between suicide and comorbid mental disorders in people treated for substance use disorders: a National registry study