Band Alignment of III-N, ZnO and II-IV-N2 Semiconductors from the Electron Affinity Rule