Counterion-induced reversibly switchable transparency in smart windows.