Theory of the dynamical stark effect of excitons in CdS