Photoinduced irreversible insertion of CO2 into a metal–hydride bond