State filling, Coulomb, and trapping effects in the optical nonlinearity of CdTe quantum dots in glass.