Study of lateral non-uniformity as a function of junction depth in ultra-shallow junctions and its effect on leakage behavior in as-deposited polycrystalline Si and amorphous Si diodes