III–V nanowires and nanowire optoelectronic devices