Hormel Foods, the US group behind the Spam brand, is to close a canned-meats factory in California.