Electronic and optical properties of boron doped hydrogenated amorphous silicon thin films