Bromination of pyrazole-3(5)-carboxylic acid