All-Optical XOR Gate for QPSK In-Phase and Quadrature Components Based on Periodically Poled Lithium Niobate Waveguide for Photonic Coding and Error Detection Applications