Phytic Acid-Assisted Formation of Hierarchical Porous CoP/C Nanoboxes for Enhanced Lithium Storage and Hydrogen Generation.