A study on growth and optical properties of zno zns core shell nanocomposites and their application in optoelectronic devices