UK retail sales rose 3.4% on a same-store basis during July, according to a report by the British Retail Consortium (BRC).