Electrical and optical properties of boron doped CdS thin films prepared by chemical bath deposition