cooked pastry shelf life