Functional Materials from Carbon, Inorganic, and Organic Sources