Nonlinear waves at the free surface of flexible mechanicalmetamaterials