Multi-energy detection using CdZnTe semiconductor detectors