Characterization of optoelectronic properties of a-Si1−xCx:H films