First-principles calculations to investigate electronic, structural, optical, and thermoelectric properties of semiconducting double perovskite Ba2YBiO6