Gelatin-derived sustainable carbon-based functional materials for energy conversion and storage with controllability of structure and component