First principles study of S-repaired ultra-thin InSe electrodes for ion storage and transport