Electronic structure and optical absorption spectra of CdSe covered with ZnSe and ZnS epilayers