Expansions, real estate deals boost Publix Q2 earnings