Mechanisms of aqueous bromination of pyrimidones, pyridonrs, and phenols