Stress in hydrogenated amorphous silicon determined by X-ray diffraction