Dual-energy X-ray transmission identification method for coal and gangue with different thicknesses and densities