Mechanistic basis for tuning iridium hydride photochemistry from H2 evolution to hydride transfer hydrodechlorination