Simultaneous Dose Reduction and Scatter Correction for 4D Cone-Beam Computed Tomography