Gravar-mail: Detective quantum efficiency of photon-counting CdTe and Si detectors for computed tomography: a simulation study