Influence of the diffusion-layer thickness during electrodeposition on the synthesis of nano core/shell Sn–O–C composite as an anode of lithium secondary batteries