Comparative investigation of NbN and Nb-Si-N films: Experiment and theory