Catalytic hydrodemetallation of nickel porphyrins. III: Acid-base modification of selectivity