Interaction of nitrogen ions with beryllium surfaces