Freight train derails in Illinois, sparking flames and black smoke