Falling sales of textiles, clothing and footwear helped total UK retail sales to decline 0.6% in May, according to the Office of National Statistics (ONS).