In situ monitoring of stacking fault formation and its carrier lifetime mediation in p-type 4H-SiC