Nanoanalysis of interfacial chemistry