Nonlinear optical loop mirror