Photoconductive and photocatalytic properties of CdO–NiO nanocomposite synthesized by a cost effective chemical method