Realization of pristine and locally tunable one-dimensional electron systems in carbon nanotubes