Temporal coherence shaping based on spectral-domain destructive interference of pulses with different self-phase modulations