Electrochemical energy storage in ordered porous carbon materials