The late arrival of summer returned retail sales to growth – boosted by consumers buying clothing and beauty products in preparation for the holidays, figures show.