Spectral and nonlinear optical characteristics of nanocomposites of ZnO–CdS