Optimization of Broadband Absorption in Semiconductor Nanowire Arrays for Photovoltaic Applications