Chemical bonding and X-Ray emission spectra analysis for niobium carbide, nitride and oxide