Fully solution-processed phase-pure 3D/2D perovskite bilayer heterojunctions