Text this: New insights on the reaction mechanism and charge contribution of NaNiF3 perovskite as an anode for sodium-ion batteries