Joining of two different ceramic nanomaterials for bottom-up fabrication of heterojunction devices