US supermarket group Publix has said that earnings in the first half of the year were down 2.6% despite rising profits in the second quarter.