Green chemistry of carbon nanomaterials