Surface Analysis of Pigments and Stressed Polymer Films Using X-Ray Photoelectron Spectroscopy