Revival of on-the-go snacking helps Hershey lift annual sales outlook