Preparation and electrochemical properties of nano-sized SnF2 as negative electrode for lithium-ion batteries