Diesel prices had the biggest monthly rise in a decade in May, with petrol also up, says industry group the AA.