Inflation rose at 5.5% in the 12 months to January as people paid more for clothing and footwear, figures show.