Reaction of N-methylsulfonyl-and N-(p-tolylsulfonyl)-2-(cyclopent-1-en-1-yl)anilines with bromine in the presence of potassium thiocyanate and in methanol