Differential ultrasonic calorimeter for accurate measurement of thermal losses in machinery