how long do cooked vegetables last