Optical signal processing with electrooptic modulators and dispersion