Computational Studies of Mechanism and Selectivity in C-I and C-H Bond Activation and Functionalization