Selective-area growth of III-V nanowires and their applications