Modified and controllable dispersion interaction in a one-dimensional waveguide geometry