Crystalline Porous Materials and Their Applications in Electrochemical Energy Storage Devices: Lithium Batteries and Li-Sulfur Batteries