British retailers saw sales tick slightly higher last month after a boost from Euro 2024 football tournament and summer discounting, according to official figures.