Phonons in random alloys: The itinerant coherent-potential approximation