Angular momentum of phonons and the Einstein-de Haas effect