UK consumer confidence has rebounded slightly in August from recent lows, but the mood around economic prospects for the year ahead remains sombre, new figures show.