The nature of distant galaxies producing CIV absorption lines in the spectra of high-redshift QSOS