Statistics for Growth and optimization of doped hydrogenated amorphous and nanocrystalline silicon layers for silicon heterojunction solar cells fabrication