Electronic and optical properties of Y-doped $$\hbox {BaBiO}_{3}$$