Preparation of petroselinic acid