Nanowire-based ultra-wideband absorber for visible and ultraviolet light