Nickel Catalysts for the Activation of C–O Bonds and CO2: From Mechanistic Studies to Synthetic Applications