Phonons and electron-phonon interaction by linear-response theory within the LAPW method