Interfacial bonding and electronic structure of GaN/GaAs interface: A first-principles study