Electron spectroscopy study in the NbN growth for NbN/AlN interfaces