Phonons and electrons at metal surfaces