Fabrication, electrical characterization, and modeling of fully-porous pn junctions