Self-consistent approaches in the microscopic theory of the nucleus: Static moments of odd-odd nuclei