Persistent opioid use and opioid-related harm after hospital admissions for surgery and trauma in New Zealand: a population-based cohort study