Microstructural characterization, optical and photocatalytic properties of bilayered CuO and ZnO based thin films