Nanomaterials for biosensors