Competing mechanistic pathways in the bromination of 1,3-butadiene with molecular bromine, pyridine-bromine complex, and tribromide ion