Study on the electronic structure and the optical performance of YB6 by the first-principles calculations