Joining ceramics using preceramic polymers