how to cook pickled medlar