how long does sherry last for cooking