Thiol ligands modify metal nanocluster structures and optica