Determination of olefinic unsaturation by bromination