Luminescence and photocurrent spectroscopy of self-assembled InAs quantum wires on InP[001]