Solvent effects on he chemistry of bromonium and beta-bromocarbenium ions as reactive intermediates