pn junctions in transistor