Treatment of p-hydroxybenzoic acid with aqueous bromine leads to the evolution of carbon dioxide and the formation of 2,4,6-tribromophenol. Explain.