Temperature sensor for monitoring of hot spots in integrated circuits