Theoretical and experimental investigation of stability and spectra of doped Ag:ZnSe nanocrystals