Time dependence of the luminescence intensity in CdI2-Cd and CdI2-Ag crystals