Study of AlGaAs/GaAs quantum wells grown by molecular beam epitaxy on GaAs substrates subjected to different treatments