Energy spectra of donors in GaAs-Ga1−xAlxAs quantum well structures