Emerging functional nanomaterials for the detection of food contaminants