Optical properties of etched GaAs/GaAlAs quantum wires and dots