Nonlinear internal models for output regulation