Energy Applications of 2D Nanomaterials