UK inflation rose in September, pushed up by higher petrol and diesel prices.