Specific features of the spectral properties of a cholesteric liquid crystal with a resonance defective nanocomposite layer