Synthesis and optical properties of CuO nanostructures obtained via a novel thermal decomposition method