The strongest UK retail sales performance for clothing in six months helped boost business optimism in the year to August, according to the CBI's quarterly Distributive Trades Survey.