Ultrafast shock synthesis of nanocarbon from a liquid precursor