Single-molecule observation of the K(+)-induced switching of valinomycin within a template network.