A pH-responsive self-healing hydrogel based on multivalent coordination of Ni2+ with polyhistidine-terminated PEG and IDA-modified oligochitosan.