Mechanistic aspects of the bromination of 10-substituted phenothiazines