Spectral deformations of one-dimensional Schrödinger operators