All-oxide p–n heterojunction diodes comprising p-type NiO and n-type β-Ga2O3 | Synapse