Hershey Q2 earnings sweetened by acquisitions and divestments