Optimization of the short-circuit current in an InP nanowire array solar cell through opto-electronic modeling