Magnetic Nanomaterials for Energy Storage Applications