The effects of pH and hydrogen bonds on photophysical properties of N-(4-bromobenzyl) substituted hydroxystilbazolium hemicyanine and merocyanine