Synthesis of cross-linked polymer microspheres and pyrolysis conversion to polymer-derived ceramics