Lignin‐based materials for the detection and adsorption of metal ions