Bromination-dehydrobromination of long chain α,β-unsaturated acid