FTIR-ATR spectroscopic determination of the distribution of surfactants in latex films