Spectroscopic study of photoreaction dynamics inp-bromo cinnamic acid