Structural and optical properties of single-crystalline ultraviolet-emitting needle-shaped ZnO nanowires