Nonlinear metamaterials