Optical and electronic properties of microcrystalline silicon as a function of microcrystallinity