Advances in nonlinear optics for information processing and all-optical networking