Heterogeneous integration through direct wafer bonding