Optical absorption of Cu-centers in CdCl2 and CdBr2 single crystals