Preparation of carbon-based hybrid particles and their application in microcellular foaming and flame-retardant materials