Molecular polymer-derived ceramics for applications in electrochemical energy storage devices