Green production of carbon nanomaterials in molten salts, mechanisms and applications