Optimal dispersion management for wavelength-division-multiplexed RZ optical pulse transmission