Reasons for substance use and vulnerability factors in patients with substance use disorder and anxiety or mood disorders