Features of molecular beam epitaxy of the GaN (0001) and GaN (000$$ \bar 1 $$) layers with the use of different methods of activation of nitrogen