Why Hershey, Hostess, Mondelēz, and others are boosting their outlooks