Permanent magnetism, magnetic anisotropy, and hysteresis of thiol-capped gold nanoparticles.