Beam-hardening correction method based on original sinogram for X-CT