Assembling thiolated gold nanoparticles in compact patterns: a transmission electron microscopy and scanning probe microscopy investigation