Carbon-based nanomaterials as novel nanosensors