Fabrication of carboxylic acid-terminated thin films using poly(ethyleneimine) on a gold surface