GaN and AlGaN/AlN Nanowire Ensembles for Ultraviolet Photodetectors: Effects of Planarization with Hydrogen Silsesquioxane and Nanowire Architecture