Properties of exciton states in GaAs/AlGaAs quantum wells in the presence of a quasi-two-dimensional electron gas