Nonlinear dynamics of the CAM circadian rhythm in response to environmental forcing.