De Haas--van Alphen effect and the electronic structure of the transition metals