Applications of metallic nanomaterials for the treatment of water