Infrared spectroscopy of thin organic films on metal surfaces