Analysis of local lifetime control and emitter efficiency control for the design of power PiN diodes