The electronic and optical properties of GaAs/AlGaAs quantum wells