Synthesis of silicon carbide foams from polymeric precursors and their blends