Electrical and optical properties of amorphous hydrogenated silicon prepared by reactive ion beam sputtering