Structure and topography of molecular assemblies on solid substrates by infrared spectroscopy and scanning tunneling microscopy