The mechanism of bromination of 4-quinazolone and its n-methyl derivatives