Associations between naloxone prescribing and opioid overdose among patients with acute and chronic pain conditions