Bromination of 1,3-dimethyl-and 1,5-dimethyl-1H-pyrazole-4-carboxylic acids