Acid-induced unfolding and refolding transitions of cytochrome c: a three-state mechanism in H2O and D2O.