US supermarket group Publix has booked an increase in full-year net earnings, despite the "difficult" trading environment.