Wide range operation of an all-optical NRZ-DPSK-to-RZ-DPSK regenerative waveform–wavelength conversion with flexible width-tunability