Novel nanostructures of ZnO for nanoscale photonics, optoelectronics, piezoelectricity, and sensing