Ionic Liquids as Versatile Precursors for Functionalized Porous Carbon and Carbon–Oxide Composite Materials by Confined Carbonization | Synapse