A local defect resonance for linear and nonlinear ultrasonic thermography