Design of a Photonic Crystal Waveguide for Terahertz-Wave Difference-Frequency Generation