Defect Engineered 2D Materials for Energy Applications