Development and characterization of photovoltaic tandem-junction nanowires using electron-beam-induced current measurements