Ancient and recent adaptive evolution of primate non-homologous end joining genes