Optimization of self-catalyzed InAs Nanowires on flexible graphite for photovoltaic infrared
photodetectors