Nitrogen retention mechanisms in tokamaks with beryllium and tungsten plasma-facing surfaces