Quantum tunneling through planar p-n junctions in HgTe quantum wells