Quantum discord in spin systems with dipole–dipole interaction