The dynamical Stark effect of excitons