Compensation Mechanism in Vanadium and Gallium Doped CdTe and (Cd,Zn)Te