Ultrasonic thermometer using a resonant sensor