Band diagram and conductivity of silicon oxynitride films