Thickness dependence of photoelectrical properties of intrinsic amorphous silicon