Optically-controlled high-speed terahertz wave modulator based on nonlinear photonic crystals.