Production of bromoacetylenes and acetylenic nitriles