Optical tuning by the self-assembly and disassembly of chain-like plasmonic superstructures