Catalytic activity of niobium oxynitride and carbide I. Preparation, characterization and thermal stability of finely divided niobium oxynitrides