Influence of intermolecular hydrogen bonding and solvent effects on the excited-state properties of a photoactive yellow protein chromophore compound