Temperature-tuned difference-frequency mixing in periodically poled KTiOPO4