Mechanisms of reversible conformational transitions in a single molecule.