Thermographic Data Analysis for Defect Detection by Imposing Spatial Connectivity and Sparsity Constraints in Principal Component Thermography