Metal Artifact Reduction for Polychromatic X-ray CT Based on a Beam-Hardening Corrector