The defect structure of Y- and N-doped zirconia