Nanocrystalline CuO thin films: synthesis, microstructural and optoelectronic properties