Optimization of a pixellated CdZnTe/CdTe detector for a multi-modality imaging system