What Drives Metal Artifacts in CBCT? A Comparative Study of Detector Types and Metallic Object Confgurations