Temperature measurements of optically non-gray particles in high-temperature dusty media