Hershey reinstates full-year outlook after strong third-quarter sales