how to cook figs preserve