A warm spring and strong performance from Scotts Miracle-Gro Co.'s cannabis horticultural supply subsidiary contributed to a 17% second-quarter sales increase.