Three-dimensional in situ photocurrent mapping for nanowire photovoltaics.