The SEC announced charges Thursday against Diamond Foods and two former executives over an accounting scheme