The role of inorganic nitrate and nitrite in CVD