Theory of magnetism in transition metals (International School of Physics "Enrico Fermi." Proceedings of the International School of Physics "Enrico Fermi")