Three-dimensional ordered porous electrode materials for electrochemical energy storage