Potential energy surfaces for atom transfer reactions involving hydrogens and halogens