Design and Optimization of Four-dimensional Cone-beam Computed Tomography in Image-guided Radiation Therapy