Structural and optical properties of GaAs–AlxGa1−xAs quantum wells