Surface chemical-functionalization of ultrathin two-dimensional nanomaterials for electrocatalysis