Seneca Foods, the US-based fruit-and-vegetable group, is to shut a factory in California, citing "challenging economic conditions".