Design and fabrication of APE–PPLN waveguides for temperature measurement