J.M. Smucker results boosted by pet food, coffee and snacking