Hierarchically porous three-dimensional electrodes of CoMoO₄ and ZnCo₂O₄ and their high anode performance for lithium ion batteries.