The belated arrival of summer in the UK helped to boost retail clothing sales in July, with total revenues showing their fastest growth in more than two years.