Photochemical oxidation of halocarbons in the troposphere