Formation of SiC nanocrystals prepared by sol-gel processing of green carbon sources and DFT calculations