Defects and microvoids in a-Si and a-Si:H