Grain train derails in NE Montana