The nonlocal dielectric function in the random phase approximation for n-type delta-doped quantum wells in GaAs