Performance improvement of UV photodetectors using Cd-doped ZnO nanostructures