Tongs for working with railroad spikes