Development and Validation of a GEANT4 Radiation Transport Code for CT Dosimetry