First-principles calculations of electronic structure and optical properties of Boron-doped ZnO with intrinsic defects