Atomic Scale Characterization and First-Principles Studies of Si3N4 Interfaces