Attosecond nonlinear optics