Dual energy X-ray transmission sorting of coal