Growing retail sales in Portugal and Poland has boosted first-half profits at Jerónimo Martins.