Cis-trans photoisomerization of fluorescent-protein chromophores