New temperature measurement technique for thermal plasmas