Optimized Characterization and Processing of Thin Silicon Oxynitride Dielectric Films