‘July’s retail figures were worth the wait as sales rose more than expected’