Design and synthesis of carbon-based nanomaterials for electrochemical energy storage