Legal status of recreational cannabis and self-reported substitution of cannabis for opioids or prescription pain medication in Canada and the United States