Nonlinear dynamics in single-mode optical resonators.