Defining and controlling double quantum dots in single-walled carbon nanotubes