Experimental demonstration on PPLN-based 40 Gbit/s all-optical NRZ-to-CSRZ, NRZ-to-RZ, and NRZ-DPSK-to-RZ-DPSK format conversions