Small-amplitude nonlinear waves on a black hole background