Asymmetric response of nonlinear coupled-mode devices: all-optical logic gates with a rocking-filter fiber.