Optical and magnetic properties of Co-doped CuO flower/plates/particles-like nanostructures