Optical spectroscopy of GaAs–AlGaAs v-groove quantum wires