All-optical logic gates based on unidirectional surface plasmon polaritons.