Secondary ion emission from molecular overlayers: Thiols on gold