Revisiting spin-dependent forces mediated by new bosons: Potentials in the coordinate-space representation for macroscopic- and atomic-scale experiments