Study of nitrogen-related defects by means of gold and hydrogen diffusion investigations