Structural, morphological and optical studies on chemically deposited nanocrystalline Gd-doped $$\hbox {Cd}_{0.5} \hbox {Zn}_{0.5}\hbox {Se}$$Cd0.5Zn0.5Se thin films