Solvent effect on the excited-state dynamics of analogues of the photoactive yellow protein chromophore.