General Layer-By-Layer Approach To Composite Nanotubes and Their Enhanced Lithium-Storage and Gas-Sensing Properties