Copper nanoparticles and their oxides: optical, anticancer and antibacterial properties