Crystallographic insights into the structural aspects of thioctic acid based halogen-bond donor for the functionalization of gold nanoparticles.