Effect of bromide on the chlorination of a polyamide membrane