Carbon-based smart nanomaterials in biomedicine and neuroengineering