Defects detection and non-destructive testing (NDT) techniques in paintings: an unified approach through measurements of deformation