UK inflation rises as petrol and diesel prices climb