Partial densities of states and electron–phonon interaction in transition metals