Polypeptide folding-mediated tuning of the optical and structural properties of gold nanoparticle assemblies.