Flower-like structure of SnS with N-doped carbon via polymer additive for lithium-ion battery and sodium-ion battery