Average diesel prices in the UK have crossed £2 a litre for the first time, while petrol also continued to rise, according to RAC data.