Characterization of CZT detectors for the ASIM mission