Molecular orientation and bonding of terthiophene-thiol self-assembled on Au(111): A combined NEXAFS and XPS study.