Text this: Numerical simulation of subsurface defect identification by pulsed thermography and improvement of this technique for noisy data