Tuning periodicity of polymer-decorated carbon nanotubes