An increase in consumer confidence and spending in August helped to boost US retail sales, with clothing a particular bright spot.