UK consumer confidence bounced back in August from a six-month low in the prior month, according to new figures.