Study of temperature field in spark plasma sintering