3D model of CZT /spl gamma/-ray spectrometer detector: validation on a monolithic pixelated detector and on a high energy spectrometric probe