Noninvasive nuclear magnetic resonance profiling of painting layers