Epoxidised acids or esters