Simulation of reverse breakdown in planar P-N junctions