Quantum size effects in GaAsGaAlAs quantum well wires and quantum well boxes