Electron–phonon properties of pnictide superconductors