Transforming active sites in nickel–nitrogen–carbon catalysts for efficient electrochemical CO2 reduction to CO