Lattice dynamics of zinc-blende GaN and AlN: I. Bulk phonons