A Model-Based Image Reconstruction Algorithm with Simultaneous Beam Hardening Correction for X-Ray CT