Reversibility of conformational switching in light-sensitive peptides