Nonspecific and Thiol-Specific Binding of DNA to Gold Nanoparticles