Effects of hydrogen atoms on the network structure of hydrogenated amorphous and microcrystalline silicon thin films