Infrared attenuated total reflection spectroscopy for the characterization of gold nanoparticles in solution