Surface and interfacial FT–IR spectroscopic studies of latexes. VI. Orientation and spatial distribution of acid functionalities at the film–substrate interface