First-principles analysis of interfacial nanoscaled oxide layers of bonded N- and P-type GaAs wafers