Temperature-dependent lattice dynamics in polycrystalline ZrN