All-optical parity checker with bit-differential delay