Risk of drug-related mortality during periods of transition in methadone maintenance treatment: a cohort study