Wafer bonding of InP and GaAs: interface characterization and device applications