Light Management In Photovoltaic Devices And Nanostructure Engineering In Nitride-Based Optoelectronic Devices