Macro- and micro-cellular porous ceramics from preceramic polymers