Synthesis and controlled non-destructive covalent functionalization of low-dimensional carbon nanomaterials