Thermal decomposition of ktn gel and formation of perovskite structure KTN