Text this: N-doped 3D carbon encapsulating nickel selenide nanoarchitecture with cation defect engineering