Silicon carbide-based foams from direct blowing of polycarbosilane