Optical techniques for the characterization of surface-subsurface defects in painted layers