Spin-dependent point potentials in one and three dimensions