Preparation and electrochemical properties of carbon-doped TiO2 nanotubes as an anode material for lithium-ion batteries