Energy-analysis of fatigue damage by thermographic technique