Electrode nanomaterials self-assembled from thiolate-encapsulated gold nanocrystals