Point defect characterization of GaN and ZnO