Exploiting the ion-exchange ability of titanate nanotubes in a model water softening process