Investigation of optical properties and antibacterial activity of chitosan copper nanoparticle composites