Spin exchange interactions of a spin dimer: Analysis of broken-symmetry spin states in terms of the eigenstates of Heisenberg and Ising spin Hamiltonians