High-speed all-optical first- and second-order differentiators based on cross-phase modulation in fibers