The Canadian Parliament has passed into law Bill C-45, legalising cannabis for adult use.