Lateral quantization effects in the luminescence of InGaAs/InP quantum wires