One-pot carbonization of chitosan/P123/PdCl2 blend hydrogel membranes to N-doped carbon supported Pd catalytic composites for Ullmann reactions.