One Dimensional Zinc Oxide Nanostructures For Optoelectronics Applications: Solar Cells And Photodiodes