Optical determination of the mass density of amorphous and microcrystalline silicon layers with different hydrogen contents